package com.zhxy.service;

import com.github.pagehelper.PageInfo;
import com.zhxy.bean.User;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserService extends UserDetailsService {

    /**
     * 用户分页查询
     * @param current
     * @return
     */
    PageInfo<User> getUserByPage(Integer current);
}
